[INFO] cloning repository https://github.com/Dreamsplutox/rust_project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dreamsplutox/rust_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDreamsplutox%2Frust_project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDreamsplutox%2Frust_project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1d428f76f704adb088676b2bf70290d58031c55d
[INFO] testing Dreamsplutox/rust_project against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDreamsplutox%2Frust_project" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Dreamsplutox/rust_project on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Dreamsplutox/rust_project
[INFO] finished tweaking git repo https://github.com/Dreamsplutox/rust_project
[INFO] tweaked toml for git repo https://github.com/Dreamsplutox/rust_project written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Dreamsplutox/rust_project already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5278249ffc8ed13e784eafdb00fb14ee1b3c64ff2af8835ad58a1a9f4c7b4fd2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5278249ffc8ed13e784eafdb00fb14ee1b3c64ff2af8835ad58a1a9f4c7b4fd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5278249ffc8ed13e784eafdb00fb14ee1b3c64ff2af8835ad58a1a9f4c7b4fd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5278249ffc8ed13e784eafdb00fb14ee1b3c64ff2af8835ad58a1a9f4c7b4fd2", kill_on_drop: false }`
[INFO] [stdout] 5278249ffc8ed13e784eafdb00fb14ee1b3c64ff2af8835ad58a1a9f4c7b4fd2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08a828ad2987da98c245be015b1a7391f408e3b99b83202f1fddf8483d1a2d2e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "08a828ad2987da98c245be015b1a7391f408e3b99b83202f1fddf8483d1a2d2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     /// création et sauvegarde d'une image
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     let filename = "C:\\Users\\arnau\\Desktop\\quatrième_année\\programmation rust\\Projet\\projet_rust\\rust_project\\src\\picture_P3.pp...
[INFO] [stdout]    |     ---------------------------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/lib_image.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 55 |                 Err(why) => panic!("couldn't create file"),
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/lib_image.rs:60:15
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 Err(why) => panic!("couldn't write header to file"),
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/lib_image.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     Err(why) => panic!("couldn't write pixel to file"),
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/lib_image.rs:70:16
[INFO] [stdout]    |
[INFO] [stdout] 70 |                     Err(why) => panic!("couldn't write 'space' to file"),
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/lib_image.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |                         Err(why) => panic!("couldn't write '\\n' to file"),
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut saved_image:Image = new_with_file(filename);
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `invert`
[INFO] [stdout]   --> src/lib_image.rs:88:10
[INFO] [stdout]    |
[INFO] [stdout] 88 |         pub fn invert(&mut self){
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `grayscale`
[INFO] [stdout]   --> src/lib_image.rs:95:10
[INFO] [stdout]    |
[INFO] [stdout] 95 |         pub fn grayscale(&mut self){
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `width`
[INFO] [stdout]    --> src/lib_image.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         pub fn width(&self)->usize{
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `height`
[INFO] [stdout]    --> src/lib_image.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         pub fn height(&self)->usize{
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `max`
[INFO] [stdout]    --> src/lib_image.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         pub fn max(&self)->u8{
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pixels`
[INFO] [stdout]    --> src/lib_image.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         pub fn pixels(&self)->& Vec<Pixel>{
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `eq`
[INFO] [stdout]    --> src/lib_image.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         pub fn eq(self, other: Image) -> bool{
[INFO] [stdout]     |                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `invert`
[INFO] [stdout]   --> src/lib_pixel.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         pub fn invert(&mut self){
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `grayscale`
[INFO] [stdout]   --> src/lib_pixel.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         pub fn grayscale(&mut self){
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.55s
[INFO] running `Command { std: "docker" "inspect" "08a828ad2987da98c245be015b1a7391f408e3b99b83202f1fddf8483d1a2d2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08a828ad2987da98c245be015b1a7391f408e3b99b83202f1fddf8483d1a2d2e", kill_on_drop: false }`
[INFO] [stdout] 08a828ad2987da98c245be015b1a7391f408e3b99b83202f1fddf8483d1a2d2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a9f862f1949e871f82af8f1dad21de38f47c2092bf49573d50afa6d8000c9904
[INFO] running `Command { std: "docker" "start" "-a" "a9f862f1949e871f82af8f1dad21de38f47c2092bf49573d50afa6d8000c9904", kill_on_drop: false }`
[INFO] [stderr]    Compiling project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `lib_image`
[INFO] [stdout]  --> src/lib_image.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate lib_image;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `project`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a9f862f1949e871f82af8f1dad21de38f47c2092bf49573d50afa6d8000c9904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9f862f1949e871f82af8f1dad21de38f47c2092bf49573d50afa6d8000c9904", kill_on_drop: false }`
[INFO] [stdout] a9f862f1949e871f82af8f1dad21de38f47c2092bf49573d50afa6d8000c9904
